package service

import (
	"common/database/config"
	"encoding/json"
	"strconv"
)

func ShopCreate(data interface{}, id int) {
	marshal, _ := json.Marshal(data)
	key := "shop_create" + strconv.Itoa(id)
	config.Rdb.Set(config.Ctx, key, marshal, 0)
}
